home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PKFIXED.ZIP / READ.ME < prev    next >
Text File  |  1994-02-01  |  3KB  |  84 lines

  1. LITTLES -
  2.  
  3. This archive contains 3 little programs I wrote after I changed
  4. my NT setup over from a grphical based on to a command line/text
  5. setup. (Write me for information about this if you are curious)
  6.  
  7. The 3 programs contained here are compiled for the CONSOLE under
  8. NT.
  9.  
  10. KILL.EXE - Usage KILL <process id>
  11.          - This will FORCEABLY terminate a program. This is 
  12.      - the same result as if you had selected the program
  13.          - under TASK MANAGER and selected End Task.
  14.      - You may get the process ID from PS.EXE or thru
  15.      - PVIEW/PSTAT.
  16.  
  17. PS.EXE   - Usage PS
  18.      - Shows which processes are running (non-kernel ones).
  19.      - The following information is given:
  20.             Handle (HWND)
  21.         Process ID (PID)
  22.         Priority (IDLE,NORM,HIGH,REAL)
  23.             IDLE - Process only executes if the
  24.                              - CPU is idle OR it is the forground
  25.                  - window
  26.             NORM - Has a "normal" priority
  27.             HIGH - Has a higher than normal priority
  28.             REAL - Has the HIGHEST priority (REAL-TIME)
  29.         User Time (UTIME)
  30.             This is the amount of time the process has
  31.             spent doing "user" things (reading keyboard,
  32.             outputting to screen, etc...)
  33.         Kernel Time (KTIME)
  34.             This is the amount of time the process has
  35.             spent inside the KERNEL (calling KERNEL
  36.             functions, etc ...)
  37.         Name (NAME)
  38.             The name of the process (if any)
  39.  
  40. NICE.EXE - Usage NICE <process id> <priority>
  41.      - Sets the priority of a process (see PS.EXE)
  42.      - <priority> is the actual string "NORM","IDLE", etc ..
  43.  
  44.  
  45. Examples:
  46.  
  47. [d:\users\nicholas\distribute]ps
  48. HWND    PID     PRIO    UTime           KTime           NAME
  49. 3600c4  81      HIGH    00:00:06        00:00:04        cmd.exe - ps
  50. 2e00ce  97      NORM    00:00:04        00:00:02        WOW Exec
  51. 1c0120  92      NORM    00:00:10        00:00:03        Notepad - read.me
  52. 270068  89      HIGH    00:00:00        00:00:00        Task List
  53. 170062  97      NORM    00:00:04        00:00:02        wowexec
  54. 1b0064  132     HIGH    00:00:00        00:00:00        NetDDE Agent
  55.  
  56. [d:\users\nicholas\distribute]kill 97
  57.  
  58. [d:\users\nicholas\distribute]ps
  59. HWND    PID     PRIO    UTime           KTime           NAME
  60. 3600c4  81      HIGH    00:00:07        00:00:06        cmd.exe - ps
  61. 1c0120  92      NORM    00:00:13        00:00:03        Notepad - read.me
  62. 270068  89      HIGH    00:00:00        00:00:00        Task List
  63. 1b0064  132     HIGH    00:00:00        00:00:00        NetDDE Agent
  64.  
  65. [d:\users\nicholas\distribute]nice 81 IDLE
  66.  
  67. [d:\users\nicholas\distribute]ps
  68. HWND    PID     PRIO    UTime           KTime           NAME
  69. 3600c4  81      IDLE    00:00:08        00:00:06        cmd.exe - ps
  70. 1c0120  92      NORM    00:00:13        00:00:03        Notepad - read.me
  71. 270068  89      HIGH    00:00:00        00:00:00        Task List
  72. 1b0064  132     HIGH    00:00:00        00:00:00        NetDDE Agent
  73.  
  74. Note that both "WOW Exec" and "wowexec" were kill. This is because
  75. they had the same PID number (I assume because the two processes
  76. are obviously tied to either other).
  77.  
  78. -
  79.  
  80. Nicholas J. Leon (leonni@hamlet.uncg.edu)
  81. Binary 9 Software Systems
  82.  
  83. [2.1.94]
  84.